New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fib-types

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fib-types

fibjs's *.d.ts files for internal modules.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

fib-types

fibjs's *.d.ts files for internal modules.

Prerequisite

  • fibjs > 0.25.0

Run fibjs test to check if fibjs installed correctly :)

Usage

# use fibjs's '--install' option
fibjs --install fib-types --save-dev

# if you like npm
npm i -S fib-types

Hint with IDE

if you use some IDE supporting auto-complete feature for typescript(such as Visual Studio Code), auto-complete platte would display when you typing sub-characters of module name('fs', 'vm' etc)

To enable autocomplate of Visual Studio Code, you must use import keyword to introduce the module rather than 'require', fibjs would auto compile it with internal typescript compiler.

// just write
import * as fs from 'fs' // right

// NOT
import fs from 'fs' // wrong

Notice As of internal modules, not like latest nodejs, fibjs export one internal module without equivalent 'default' member, that is, fibjs's internal module isn't esmodule style, it's CommonJs, so you must use import * as xxx from 'xxx' rather than import xxx from 'xxx'

TODO

  • Basic type definition for internal C++ modules
  • Basic type definition for internal Javascript modules
  • For Every Module, Import its dependency Interface instead(now I introduce all interfaces)

Keywords

FAQs

Package last updated on 06 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc